#pragma once
#include "PEProtocol.h"

#include "BtnST.h"


// CAboutDlg dialog

class CAboutDlg : public CDialog
{
	DECLARE_DYNAMIC(CAboutDlg)

public:
	CAboutDlg(CWnd* pParent = NULL);   // standard constructor
	virtual ~CAboutDlg();

// Dialog Data
	enum { IDD = IDD_ABOUT_DLG };

protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support

	DECLARE_MESSAGE_MAP()

	CButtonST m_btnOK;
	CButtonST m_btnHelp;
	CButtonST m_btnSupport;
	CButtonST m_btnGetLog;

	HBRUSH m_hDialogBrush;

	BOOL PtInClientRect(CPoint p);
public:
	afx_msg HBRUSH OnCtlColor(CDC* pDC, CWnd* pWnd, UINT nCtlColor);
	afx_msg LRESULT OnNcHitTest(CPoint point);
	virtual BOOL OnInitDialog();
	afx_msg void OnBnClickedBtnHelp();
	afx_msg void OnBnClickedBtnGetLog();
	afx_msg void OnBnClickedBtnSupport();
};
